export const IdentityCodeValid = code => {
  let reg = /^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/;
  if (reg.test(identity)) {
    return true;
  } else {
    return false;
  }
};
